<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::group(['middleware' => 'zhuce'], function()
{

});

//Route::get('/',function (){
//    return 123;
//});

//加载注册未激活的模板
Route::any('/zhuce','UserController@index')->name('zhuce');
//配置点我激活邮箱的路由
Route::any('/youjian/{token}','UserController@youjian')->name('youjian');
//配置重新激活邮箱的路由
Route::any('/zaifa','UserController@zaifa')->name('zaifa');

Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');

//配置上传图片的路径
Route::any('/upload','UploadController@upload');
//配置编辑器里面的图片上传的路径
Route::any('/bianjiqi','UploadController@bianjiqi');
//配置预览图片路径
Route::any('/morepic','UploadController@morepic');

//配置微信公众号验证路由：
//Route::any('/wechat','WechatController@handle');

